template method pattern meaning in Chinese
模板方法模式
Examples
- If this were java code , you might describe the default target as a delegator method - it calls the other targets in the right order in a sense , it s an implementation of the template method pattern
如果它使用的是java代码,您可以描述缺省目标为delegator方法- -它按正确的顺序调用其它目标(在某种意义上,它是template method模板的实施) 。 - Second , improving the original design , include building the inheritance system for applicaion sheets , making strategy for a new flow node , and supporting the various database connections . we implemente the tasks by using three design patterns , they are abstract factory pattern , strategy pattern and template method pattern
第二,改进设计,主要是建立申请单的继承体系,为新建审批节点制定策略和支持连接到不同的数据库。这是通过三个设计模式来实现的,分别是抽象工厂模式,策略模式和模板方法模式。